import {messages} from "share/common";
import React from 'react'
import { connect } from 'react-redux'
import { Form } from 'antd'

import 'styles/setting/role-setting/finance-role/finance-role-detail.scss'

class DetailCompanyAuth extends React.Component{
  constructor(props) {
    super(props);
    this.state = {
    }
  }

  componentDidMount() {

  }

  componentWillReceiveProps(nextProps) {

  }

  render() {
    const { } = this.state;
    return (
      <div className="detail-company-auth">
        公司权限1
      </div>
    )
  }
}

DetailCompanyAuth.contextTypes = {
  router: React.PropTypes.object
};

function mapStateToProps(state) {
  return {
    profile: state.login.profile,
  }
}

const wrappedDetailCompanyAuth = Form.create()(DetailCompanyAuth);

export default connect(mapStateToProps)(wrappedDetailCompanyAuth)
